<div class="contentBox" id="forms">
            <div class="contentBoxTop">
              <h3>Form Add Product</h3>
            </div>
            <div class="innerContent" id="box-1">
                <form id="form1" name="form1" method="post" action="" enctype="multipart/form-data">
                Product Name
                <br />
                <label class="smallInput">
                    <input name="name" type="text" size="28" value="<?php echo set_value('name');?>"/>
                  </label>
                <p>Info<br />
                  <label class="textarea">
                    <textarea name="info" rows="6" cols="80"><?php echo set_value('info');?></textarea>
                  </label>
                </p>
                <p>Price ($) <br />
                  <label  class="smallInput">
                      <input type="price" name="price" value="<?php echo set_value('price');?>"/>
                  </label> 
                </p>
                <p>Price sale ($) <br />
                  <label  class="smallInput">
                      <input type="sale" name="sale" value="<?php echo set_value('sale');?>"/>
                  </label> 
                </p>
                <p>Country <br />
                  <label  class="smallInput">
                      <input type="text" name="country" value="<?php echo set_value('country');?>"/>
                  </label> 
                </p>
                <p>Brand <br />
                  <label  class="smallInput">
                     
                      <select name="brand" style="width: 170px;">
                          <?php foreach ($list_brand as $brand) { ?>
                           <option value="<?php echo $brand['bra_id'];?>"><?php echo $brand['bra_name']; ?></option>
                          <?php } ?>
                      </select>
                  </label>
                </p>
                <p>Category <br />
                    <?php foreach ($list_cate as $cate) { ?>
                    <input type="checkbox" name="category[]" value="<?php echo $cate['cate_id'];?>"> <?php echo $cate['cate_name']."<br/>";?> 
                    <?php } ?>
                </p>
                <p>
			<input name="" type="image" src="<?php echo $baseURL;?>/publics/admin/images/bt_submit.gif" />
                </p>
              </form>
            </div><!--end of #box-1-->
            <div class="innerContent" id="box-2" style="display:none">
            Box-2 content goes here
            </div><!--end of #box-2-->
            
          </div>
<hr />
         
          <div class="errorBox"><div class="errorBoxTop">&nbsp;</div>
              <div class="msgBoxContent errorIcon">
                <p>Error. Product add failed. </p>
                <p><?php echo form_error("name");?></p>
                <p><?php echo form_error("info");?></p>
                <p><?php echo form_error("price");?></p>
                <p><?php echo form_error("sale");?></p>
                <p><?php echo form_error("country");?></p>
                
                <p><?php echo form_error("category[]");?></p>
                <p><?php echo form_error("img_main");?></p>
              </div>
          </div>
          <div class="successBox">
          <div class="successBoxTop">&nbsp;</div>
              
          </div>
        
          <hr />


